package com.ehe.common.core.web.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * 更新 dto
 * @author jerry
 */
@Getter
@Setter
public abstract class BaseModifyDTO extends BaseDTO {

    /** 版本（乐观锁） */
    @ApiModelProperty(value = "版本（乐观锁）", position = 6, required = true)
    @NotNull
    private Integer version;
}
